<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8">
		<title>Scopo : Academic Search engine - Register</title>
		<link href="{{ MEDIA_URL }}scopo/css/reg.css" rel="stylesheet" title="basestyle" type="text/css"> 
	</head>
	
	<body> 
		<div id="header">
			<img border="0" src="{{ MEDIA_URL }}scopo/images/logo2.jpg"/>
		</div>
		
		<div id="reg"
			{% block title %}Create an account{% endblock %}

			{% block content %}
			<h1> Create an account </h1>
		
			<form action="." method="post">
			
			
			<table>
				<tr>
					<td>
						{% if form.username.errors %}
						{{ form.username.html_error_list }}
						{% endif %}
						<label for="id_username">Username:</label> 
					</td>
					<td>{{ form.username }}</td>
				</tr>
				
				<tr>
					<td>
						{% if form.password1.errors %}
						{{ form.password1.html_error_list }}
						{% endif %}
						<label for="id_password1">Password: </label></td>
					<td>{{ form.password1 }}</td>
				</tr>
				
				<tr>
					<td>
						{% if form.password12.errors %}
						{{ form.password2.html_error_list }}
						{% endif %}
						<label for="id_password2">Password (again): </label>
					</td>
					<td>{{ form.password2 }}</td>
				</tr>
				
			</table><br/>
			
			{% if form.error_dict %}
				<p class="error">Please correct the errors below.</p>
			{% endif %}
			
			<script type="text/javascript"
				src="http://www.google.com/recaptcha/api/challenge?k=6Le0ccISAAAAAPA7OAHhdGumRFzMLHeoTIT6aBIh ">
			</script>
			<noscript>
				<iframe src="http://www.google.com/recaptcha/api/noscript?k=6Le0ccISAAAAAPA7OAHhdGumRFzMLHeoTIT6aBIh "
				height="300" width="500" frameborder="0"></iframe><br>
				<textarea name="recaptcha_challenge_field" rows="3" cols="40">
				</textarea>
				<input type="hidden" name="recaptcha_response_field"
				value="manual_challenge">
			</noscript>
		
			{% csrf_token %}
				<input type="submit" value="Submit" /></label>
			{% endblock %}
		
			</form>
		
		</div>
		
	</body>
</html>
